<div class="namhochockies view">
<h2><?php  __('Namhochocky');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $namhochocky['Namhochocky']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Namhoc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($namhochocky['Namhoc']['id'], array('controller' => 'namhocs', 'action' => 'view', $namhochocky['Namhoc']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hocky'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($namhochocky['Hocky']['id'], array('controller' => 'hockies', 'action' => 'view', $namhochocky['Hocky']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybd'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $namhochocky['Namhochocky']['ngaybd']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaykt'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $namhochocky['Namhochocky']['ngaykt']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Namhochocky', true), array('action' => 'edit', $namhochocky['Namhochocky']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Namhochocky', true), array('action' => 'delete', $namhochocky['Namhochocky']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $namhochocky['Namhochocky']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Namhochockies', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Namhochocky', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Namhocs', true), array('controller' => 'namhocs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Namhoc', true), array('controller' => 'namhocs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hockies', true), array('controller' => 'hockies', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hocky', true), array('controller' => 'hockies', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dangkydecuongs', true), array('controller' => 'dangkydecuongs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dangkydecuong', true), array('controller' => 'dangkydecuongs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Detainamhocs', true), array('controller' => 'detainamhocs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Detainamhoc', true), array('controller' => 'detainamhocs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Kehoaches', true), array('controller' => 'kehoaches', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Kehoach', true), array('controller' => 'kehoaches', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Dangkydecuongs');?></h3>
	<?php if (!empty($namhochocky['Dangkydecuong'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Detai Id'); ?></th>
		<th><?php __('Namhochocky Id'); ?></th>
		<th><?php __('Hocvien Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhochocky['Dangkydecuong'] as $dangkydecuong):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dangkydecuong['id'];?></td>
			<td><?php echo $dangkydecuong['detai_id'];?></td>
			<td><?php echo $dangkydecuong['namhochocky_id'];?></td>
			<td><?php echo $dangkydecuong['hocvien_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'dangkydecuongs', 'action' => 'view', $dangkydecuong['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'dangkydecuongs', 'action' => 'edit', $dangkydecuong['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'dangkydecuongs', 'action' => 'delete', $dangkydecuong['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $dangkydecuong['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Dangkydecuong', true), array('controller' => 'dangkydecuongs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Detainamhocs');?></h3>
	<?php if (!empty($namhochocky['Detainamhoc'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Detai Id'); ?></th>
		<th><?php __('Namhochocky Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhochocky['Detainamhoc'] as $detainamhoc):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $detainamhoc['id'];?></td>
			<td><?php echo $detainamhoc['detai_id'];?></td>
			<td><?php echo $detainamhoc['namhochocky_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'detainamhocs', 'action' => 'view', $detainamhoc['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'detainamhocs', 'action' => 'edit', $detainamhoc['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'detainamhocs', 'action' => 'delete', $detainamhoc['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $detainamhoc['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Detainamhoc', true), array('controller' => 'detainamhocs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Kehoaches');?></h3>
	<?php if (!empty($namhochocky['Kehoach'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Stt Kh'); ?></th>
		<th><?php __('Donvi Id'); ?></th>
		<th><?php __('Namhochocky Id'); ?></th>
		<th><?php __('Noidung'); ?></th>
		<th><?php __('Tgbatdau'); ?></th>
		<th><?php __('Tgketthuc'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($namhochocky['Kehoach'] as $kehoach):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $kehoach['id'];?></td>
			<td><?php echo $kehoach['stt_kh'];?></td>
			<td><?php echo $kehoach['donvi_id'];?></td>
			<td><?php echo $kehoach['namhochocky_id'];?></td>
			<td><?php echo $kehoach['noidung'];?></td>
			<td><?php echo $kehoach['tgbatdau'];?></td>
			<td><?php echo $kehoach['tgketthuc'];?></td>
			<td><?php echo $kehoach['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'kehoaches', 'action' => 'view', $kehoach['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'kehoaches', 'action' => 'edit', $kehoach['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'kehoaches', 'action' => 'delete', $kehoach['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $kehoach['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Kehoach', true), array('controller' => 'kehoaches', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
